package FinalProject

class Review implements Comparable{
    String reviewText
    Game game
    Date dateCreated = new Date()

    static belongsTo = [siteUser: SiteUser]

    static constraints = {

    }
    static mapping = {
        reviewText type:  "text"
    }

    int compareTo(Object o) {
      return reviewText.compareTo(o.reviewText)
    }
}


